/*@ItemStack*/((${input$entity} instanceof LivingEntity)?((LivingEntity)${input$entity}).getHeldItemMainhand():ItemStack.EMPTY)